import { IRoutes } from '@todo/core';
import { lazy } from 'react';

export const ROOM_ROUTES = {
  API: 'r',
};

export const routes: IRoutes = [
  {
    name: ROOM_ROUTES.API,
    path: '/r',
    title: "Let's interview!",
    pageComponent: lazy(() => import('../view/RoomPage.tsx')),
    onEnter: async (_router) => {},
    onExit: (_router, _container) => {},
  },
];
